home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
masdir43.arc
/
SDLFINIS.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-06-19
|
2KB
|
62 lines
ECHO Off
IF NOT .%3 == . GOTO PARMSOK
ECHO Please start the setup program by running SDLSETUP.
GOTO QUIT
:PARMSOK
sdl_get B
ECHO * * *
:TITLE ... now another check on the SDL version to avoid problems.
IF NOT .%1 == .143 GOTO VERSION
IF NOT .%2 == .144 GOTO VERSION
sdl_get B
ECHO * * *
ECHO This is the last section:
ECHO * * *
ECHO Registered users may customize the titles on the first two header
ECHO lines. These titles will display or not depending on the Hdr
ECHO default setting. They can be toggled on or off with the /H option.
Echo In order to protect the copyright notice this customization feature
Echo is not available in the shareware version.
ECHO * * *
:REM Better make another check on SDL Version (see REM below).
SDL /!
IF NOT ERRORLEVEL %1 GOTO VERSION
IF ERRORLEVEL %2 GOTO VERSION
REM Check the size of SDL.COM
sdl_get F SDL.COM
IF NOT ERRORLEVEL 1 GOTO :SIZEOK
REM The size must match what is passed in %3, else version is incorrect.
IF NOT .%3 == .%GET% GOTO VERSION
:SIZEOK
ECHO * * *
:END
Echo E 23b 00 00 >>SDLSETUP.TXT
sdl_get $
IF ERRORLEVEL 1 Echo E 23B %GET%>>SDLSETUP.TXT
IF NOT EXIST SDLSETUP.TXT GOTO NOCHANGE
sdl_get F SDLSETUP.TXT
IF NOT ERRORLEVEL 1 GOTO NOCHANGE
echo * * *
ECHO Input complete, now updating SDL.COM . . .
echo SDL is being adjusted for a 30 day evaluation period, enjoy!
Echo This will turn off the reminder line for a 30 day period to let
Echo you enjoy SDL in peace. If you are still using this unregistered
Echo copy of SDL at the end of that time, the reminder line will
Echo reappear. Please support the shareware concept by registering.
echo * * *
SDLDEBUG
REM BATch commands end here, the rest are error messages.
GOTO QUIT
:VERSION
ECHO The version of SDL is incompatible with this version of SDLSETUP.
Echo Please copy compatible versions from your original disk and try again.
:NOCHANGE
ECHO * * *
ECHO NO CHANGES HAVE BEEN MADE TO SDL.COM!
IF EXIST SDLSETUP.TXT ERASE SDLSETUP.TXT
:QUIT
pause
if exist menu.bat menu
SET GET=
ECHO Exiting to DOS ...